<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta charset="utf-8">
    <script src="../../../../public/javascripts/hidmapa.js"></script>
    <link rel="stylesheet" href="../../../../public/jquery-ui-1.9.2.custom/development-bundle/themes/base/jquery.ui.all.css">
    <script src="../../../../public/jquery-ui-1.9.2.custom/development-bundle/jquery-1.8.3.js"></script>
    <script src="../../../../public/jquery-ui-1.9.2.custom/development-bundle/ui/jquery.ui.core.js"></script>
    <script src="../../../../public/jquery-ui-1.9.2.custom/development-bundle/ui/jquery.ui.widget.js"></script>
    <script src="../../../../public/jquery-ui-1.9.2.custom/development-bundle/ui/jquery.ui.datepicker.js"></script>
    <script src="../../../../public/jquery-ui-1.9.2.custom/development-bundle/ui/jquery.ui.tabs.js"></script>

    <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico" />
    <style type="text/css" title="currentStyle">
        @import "../../../../public/DataTables-1.9.4/media/css/demo_page.css";
        @import "../../../../public/DataTables-1.9.4/media/css/demo_table.css";
    </style>
    <script type="text/javascript" language="javascript" src="../../../../public/DataTables-1.9.4/media/js/jquery.dataTables.js"></script>

    <link rel="stylesheet" href="../../../../public/jquery-ui-1.9.2.custom/development-bundle/demos/demos.css" >

    <script type="text/javascript">
        $(document).ready(function() {
            $('#errores').dataTable( {
                "bPaginate": true,
                "bLengthChange": true,
                "bFilter": false,
                "bSort": false,
                "bInfo": true,
                "bAutoWidth": true,
                "oLanguage": {
                    "sLengthMenu": "Mostrar _MENU_ registros por pagina",
                    "sZeroRecords": "No hay resultados - Lo sentimos",
                    "sInfo": "Mostrando _START_ a _END_ de _TOTAL_ registros",
                    "sInfoEmpty": "Mostrando 0 a 0 de 0 registros",
                    "sInfoFiltered": "(filtrado de _MAX_ registros totales)"
                },
                "sScrollY": 290,
                "sPaginationType": "full_numbers",
                "aLengthMenu": [[10, 25, 50], [10, 25, 50]]
            } );
        } );
    </script>
</head>
<body>
<h1>Se ha encontrado los siguientes errores</h1>
<div id="container">
    <div id="demo">
        #{if errores != null}
        <table cellpadding="0" cellspacing="0" border="0" class="display" id="errores">
            <thead>
                <tr>
                    <td>No. Fila</td>
                    <td>Descripcion</td>
                </tr>
            </thead>
            #{list items:errores, as:'error'}
                <tr class="odd gradeB">
                    <td>${error.getNumeroFila()}</td>
                    <td></td>
                </tr>
                #{list items:error.errores, as:'nombreError'}
                    <tr class="odd gradeC">
                        <td></td>
                        <td>-${nombreError}</td>
                    </tr>
                #{/list}
            #{/list}
        </table>
        #{/if}
    </div>
</div>
<form action="@{GestionDataHistorica.GestorDataHistorica.registros(0)}" >
    <input type="submit" value="Volver" />
</form>
</body>
</html>